package com.sky.service;

import com.sky.dto.UserLoginDTO;
import com.sky.entity.User;
import com.sky.vo.UserLoginVO;

import java.time.LocalDateTime;

public interface UserService {

    UserLoginVO login(UserLoginDTO dto);

    User getById(Long currentId);

    void save();
    /**
     * 查询新用户数量
     * */
    int contNewUser(LocalDateTime startTime, LocalDateTime endTime);
    /**
     * 查询截止到当前时间总的用户数量
     * */
    int countTotalUser(LocalDateTime endTime);
}
